package com.example.demo.modules.base.controller;

import com.example.demo.base.XbootBaseController;
import com.example.demo.common.utils.PageUtil;
import com.example.demo.common.utils.ResultUtil;
import com.example.demo.common.vo.PageVo;
import com.example.demo.common.vo.Result;
import com.example.demo.modules.base.entity.RoleResource;
import com.example.demo.modules.base.service.RoleResourceService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import org.springframework.transaction.annotation.Transactional;


/**
 * @author yw
 */
@Slf4j
@RestController
@Api(description = "角色权限管理接口")
@RequestMapping("/xboot/roleResource")
@Transactional
public class RoleResourceController extends XbootBaseController<RoleResource, Integer>{

    @Autowired
    private RoleResourceService roleResourceService;

    @Override
    public RoleResourceService getService() {
        return roleResourceService;
    }

}
